package com.zzyl.service;

import com.aliyun.iot20180120.models.QueryDevicePropertyStatusResponseBody;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * wangcong
 * 2025/2/10 17:34
 */
public interface DeviceService {
    void syncProductList();

    List<ProductVo> allProduct();

    void registerDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQueryDto);

    DeviceVo queryDeviceDetail(DeviceDto deviceDto);

    HashMap<String, QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyDataList> queryDevicePropertyStatus(DeviceDto deviceDto);

    Map<String, String> queryThingModelPublished(DeviceDto deviceDto);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(DeviceDto deviceDto);
}
